all: paper.pdf

#p.pdf: p.ps
#	ps2pdf p.ps p.pdf

#p.ps: p.dvi
#	dvips -o p.ps p.dvi

paper.pdf: *.tex paper.bib
	pdflatex paper
	bibtex paper
	pdflatex paper
	pdflatex paper

clean:
	rm -f *.blg *.pdf *.dvi *.ps *.aux *.log *.bbl
